# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Butui Hu <hot123tea123@gmail.com>
# Contributor: pingplug < aur at pingplug dot me >

pkgname=openslide
pkgver=3.4.1
pkgrel=4
pkgdesc='C library for reading virtual slide images'
arch=('loong64' 'x86_64')
url='https://openslide.org'
license=('LGPL')
depends=(cairo gdk-pixbuf2 openjpeg2 sqlite)
source=("https://github.com/openslide/openslide/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('9938034dba7f48fadc90a2cdf8cfe94c5613b04098d1348a5ff19da95b990564')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
